home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / postscript.518 < prev    next >
Text File  |  1992-02-06  |  874b  |  28 lines

  1. {\rtf0\ansi{\fonttbl\f1\fnil Times-Roman;\f2\fmodern Courier;\f0\fswiss Helvetica;}
  2. \paperw11440
  3. \paperh6000
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f1\b0\i0\ul0\fs28 pswrap newline\
  7. \
  8. Q:  My Postscript code seems to work in Yap or Displaytalk.  But if I turn it into a wrap, it doesn't work from my app.  The interesting thing is that it does work if I capture the output from:\
  9.  
  10. \f2     MyApp -NXShowPS YES 
  11. \f1 \
  12. and run that using 
  13. \b pft
  14. \b0 .  What's wrong?\
  15. \
  16. A:  The problem could be that you have linefeeds in your pswrap file.  
  17. \b pswrap
  18. \b0  accepts the linefeeds, but does strange things with them when compiled.  For example, commands that are defined don't seem to be defined.\
  19. \
  20. This may happen to you if you are using a transfer protocol that adds linefeeds.\
  21. \
  22. QA518    \
  23. \
  24. Valid for 1.0\
  25. Valid for 2.0\
  26. \
  27.  
  28.